package com.chushouya.manager.dto.admin.partner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("合作商列表")
@Data
public class PartnerUpdateDTO {
    @ApiModelProperty("合作商ID")
    @NotNull(message = "合作商ID不能为空")
    private Long partnerId;

    @ApiModelProperty("合作商姓名")
    @NotNull(message = "合作商姓名不能为空")
    private String partnerName;

    @ApiModelProperty("联系人")
    private String contactUser;

    @ApiModelProperty("联系人手机号")
    private String contactPhone;

    @ApiModelProperty("速回收用户ID")
    private Long adminUserId;

    @ApiModelProperty("AppKey")
    @NotBlank(message = "AppKey不能为空")
    private String appKey;

    @ApiModelProperty("状态")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @ApiModelProperty("类型")
    @NotNull(message = "类型不能为空")
    private Integer partnerType;

    @ApiModelProperty("备注")
    private String remark;
}
